﻿Public Class Detail
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

        If (Page.Request.QueryString("ID") = vbNullString) Then
            Response.Redirect("~/list.aspx")


        End If



    End Sub

    Protected Function getLevel(ByVal level As Integer)

        Select (level)
            Case 1
                Return "Level 1"
            Case 2
                Return "Level 2"
            Case 3
                Return "Level 3"
            Case 4
                Return "Level 4"
            Case 5
                Return "Level 5"
            Case 6
                Return "Level 6"
            Case 7
                Return "Level 7"
            Case Else
                Return ""

        End Select


    End Function

End Class